Scroll Progress Bar

Flash Cards


What keyword is used for the 'else' part of an 'if-else' statement?


else

What is the result of an 'if' condition that evaluates to 'false'?


No

What symbol represents 'not equal to' in a C 'if' statement condition?


!=

What construct allows multiple conditions to be evaluated in sequence?


if-else if-else

What is the purpose of the 'switch' statement in C?


Control

What data type can be used in the 'switch' statement's expression?


Integer

In the 'switch' statement, what keyword is used for each case block's condition?


Case

What is the purpose of the 'default' case in a 'switch' statement?


Fallback

What keyword is used to exit a 'switch' statement prematurely?


Break

What is the modulus operator used for in C?


Remainder

What symbol represents the modulus operator in C?


Percent

What type of values does the modulus operator work with in C?


Integers

What is a character in C?


Char

What is the ASCII code for the null character?


Null

What C library function is used to compare two characters?


strcmp